package cn.stylefeng.guns.modular.api.mapper;

import cn.stylefeng.guns.modular.api.entity.Pood;
import cn.stylefeng.guns.modular.api.model.params.PoodParam;
import cn.stylefeng.guns.modular.api.model.result.PoodResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 养殖池 Mapper 接口
 * </p>
 *
 * @author wusonghe
 * @since 2019-08-31
 */
public interface PoodMapper extends BaseMapper<Pood> {

    /**
     * 获取列表
     *
     * @author wusonghe
     * @Date 2019-08-31
     */
    List<PoodResult> customList(@Param("paramCondition") PoodParam paramCondition);



    /**
     * 获取分页实体列表
     *
     * @author wusonghe
     * @Date 2019-08-31
     */
    Page<PoodResult> customPageList(@Param("page") Page page, @Param("paramCondition") PoodParam paramCondition);

    Integer remove(@Param("paramCondition") PoodParam paramCondition);



}
